package com.mspbots.web.params;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;

/**
 * com.mspbots.web.security.ChangePasswordRequest
 *
 * @author Alex bob(https://github.com/vnobo)
 * @date Created by 2019/8/26
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ChangPasswordRequest {

    @NotEmpty
    private String password;

    @NotEmpty
    private String newPassword;

}
